package pathfinding;

import java.awt.Point;

/**
 * Class Square describes how each square in the map behaves.
 * For each square there are values of F,G,H, to keep track of the distances to
 * the start and goal.
 * There are two points, the squares own position, and the parents position.
 * 
 * @author Oscar Almgren
 * @author Robin Malmros
 * @version 2007-02-13
 */

public class Square {
	public int F, G, H;
	public Point parent;
	public Point currentPos;
	
	public Square(int F, int G, int H, Point currentPos, Point parent) {
		this.F = F;
		this.G = G;
		this.H = H;
		this.parent = parent;
		this.currentPos = currentPos;	
		
	}

}
